(function(module){
  var exports = module.exports = {};
  //易源QQ音乐接口: https://www.showapi.com/apiGateway/view/213
  //易源接口应用ID，密钥，请用注册易源网站，并创建一个应用
  var appid = 418067;
  var secret = "ae971a73c8744419a2bde76884150c06";
  //通用请求参数
  var param = "?showapi_appid=" + appid + "&showapi_sign=" + secret;
  //热门榜单接口
  var hotUrl = "http://route.showapi.com/213-4" + param;
  //根据歌名，人名查歌曲接口
  var searchByNameUrl = "http://route.showapi.com/213-1" + param;
  //根据歌曲ID查歌词
  var searchByIdUrl = "http://route.showapi.com/213-2" + param;

  module.exports = {
    config: {
      hotUrl: hotUrl,
      searchByNameUrl: searchByNameUrl,
      searchByIdUrl: searchByIdUrl,
    }
  };

})(module);
/*   js，函数就是对象       导出模块
function view1() { };
function view2() { };
module.exports = view1;
module.exports = {
  view1: view,
  view2: view2,
}
*/